package com.ykl.demo.repo;

import com.ykl.demo.entity.SpcStation;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface SpcStationRepo extends JpaRepository<SpcStation, String> {

    Optional<SpcStation> findByChinaName(String stationName);
}
